import API from './api'

export default {
  //查询日志
  getLiveSystemLogPage(params, callback, errorCallback) {
    API.post('/live/liveSystem/getLiveSystemLogPage', params, callback, errorCallback)
  },
  // 查询redis缓存
  getRedisCachePage(params, callback, errorCallback) {
    API.post('/live/liveSystem/getRedisCachePage', params, callback, errorCallback)
  },
  // 根据key删除缓存
  deleteCache(params, callback, errorCallback) {
    API.post('/live/liveSystem/deleteCache', params, callback, errorCallback)
  },
  // 清空所有缓存
  clearRedis(params, callback, errorCallback){
    API.post('/live/liveSystem/clearRedis', params, callback, errorCallback)
  }
}
